<?php
namespace system\service\interfaces;
use common\service\interfaces\ICommonService;
/**
 * system服务接口
 * @package system\service\interfaces
 * @author yangjian<yangjian102621@gmail.com>
 */
interface ISettingService extends ICommonService {

    //缓存key
    const SETTING_CACHE_KEY = 'system_settings_key';

    /**
     * 获取所有配置（带缓存）
     * @return mixed
     */
    public function getSettings();

    /**
     * 获取指定的配置
     * @param $name
     * @return mixed
     */
    public function getSetting($name);
}
